/**
 *
 */
package com.longrise.android.byjk.common;

import android.content.Context;

import com.longrise.android.byjk.R;
import com.longrise.android.byjk.app.BYJKAppLike;

/**
 * Created by callxkj
 *  app 的地址管理
 */

public class UrlConstants {

    private static UrlConstants urlConstants;

    private static Context mContext = BYJKAppLike.getAPP();

    private UrlConstants() {
    }

    public static UrlConstants getInstance() {
        if (urlConstants == null) {
            synchronized (UrlConstants.class) {
                if (urlConstants == null) {
                    urlConstants = new UrlConstants();
                }
            }
        }
        return urlConstants;
    }

    //打包测试服务器用assembleDebug,正式用assembleRelease
    //安装测试服务器用installDebug,正式用installRelease
    public static final String BYJK = mContext.getString(R.string.baseUrl);

    //地址
    public static final String BaseUrl = BYJK + "/restservices/inshapp";

    //验证码的地址 BBT替换成INSHAPPTEST
    public static final String VFCODE_URL = BYJK + "/logic/va/05fe65fa035e4b3c88d1d696f5e5999e.jpg";

}
